package com.jichangxiu.server.platform.entity.map;

import com.jichangxiu.server.platform.entity.po.PlatformMenuPower;
import com.jichangxiu.server.platform.entity.vo.PlatformMenuPowerEditVo;
import org.mapstruct.Builder;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * PlatformMenuPowerBasic:
 *
 * @author Jcx
 * @create 2023-03-18 22:06
 */
@Mapper(builder = @Builder(disableBuilder = true))
public interface PlatformMenuPowerBasic {

    public PlatformMenuPowerBasic INSTANCE = Mappers.getMapper(PlatformMenuPowerBasic.class);

    /**
     * 转换 PlatformMenuPower
     *
     * @param platformMenuPowerEditVos 视图对象
     * @return 数据库对象
     */
    public List<PlatformMenuPower> toPlatformMenuPowerList(List<PlatformMenuPowerEditVo> platformMenuPowerEditVos);

}
